.smap-colorful {
  &-list {
    --width: 28px;
    --height: 28px;

    display: flex;
    gap: 4px;
    width: 100%;

    > div {
      cursor: pointer;
      border-radius: 2px;
      border: 1px solid transparent;
      box-sizing: border-box;
      display: flex;
      width: var(--width);
      height: var(--height);
      min-width: var(--width);
      min-height: var(--height);
      align-items: center;
      justify-content: center;

      > div {
        width: calc(100% - 8px);
        height: calc(100% - 8px);
      }

      &:hover {
        background: rgb(0 0 0 / 4%);
      }

      &.active {
        background: rgb(26 102 255 / 10%);
        border-color: #1a66ff;
      }
    }
  }
}
